package service;

import model.Goods;
import model.Order;

import java.util.List;
import java.util.Map;

/**
 * @aythor:侯仪澳
 * @data:2022/7/21
 */
public interface IOrderService {
    //查询所有订单分页
    public Map<String,Object> orderLimitPage(Order order, Integer pageNo);
    //查询所有订单
    public List<Order> queryAllOrder(Order order);
    //一键发货状态值
    public String updateSendOrderBatch(List<Order> list);
    //一键退款修改货物状态值
    public String updateRefundOrderBatch(List<Order> list);
    //修改订单状态
    public String updateOrderStatus(Order order);
    //取消退款，显示原来的状态值
    public String cancelOrderStatus(Order order);
    //定时任务
    public int jobForOrder ();
}
